package com.sxkj.gis.wms.factory;

import java.io.IOException;

import com.sxkj.gis.wms.bean.DoWmsParams;
import com.sxkj.gis.wms.bean.UrlBean;
import com.sxkj.gis.wms.bean.WmsParams;

/**
 * 工厂接口
 * @author admin
 *
 */
public interface WmsFactory {
	/**
	 * getMap请求 获取DoWmsParams实体
	 * @return
	 * @throws IOException 
	 */
	 DoWmsParams createDoWmsParamsGetMap(WmsParams getMapParams) throws IOException;
	 
	 /**
	  * 当getmap.xml请求时，通过解析xml各个节点来，赋值给WmsParams
	  * @param urlBean
	  * @return
	  */
	 WmsParams createWmsParams(UrlBean urlBean);
	 
	 /**
	  * GetFeatureInfo请求
	  * @param getMapParams
	  * @return
	  */
	 DoWmsParams createDoWmsParamsGetFeatureInfo(WmsParams getMapParams);
}
